import { Routes, RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import { RootComponent } from "./component/root.component";
import { OlderReg } from "./olderreg/olderreg.component";
const routes: Routes = [
    {
        path: '',
        component: RootComponent,
        children: [{
            path: 'olderreg',
            component: OlderReg
        }]
    }
];
@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class RegisterRoutingModule {

}